import {createRouter, createWebHashHistory} from 'vue-router'


const routes = [{
    name: 'hello',
    path: '/',
    component: () => import('@/components/HelloWorld.vue')
}, {
    name: 'demo',
    path: '/demo',
    component: () => import('@views/demo/QueryList.vue')
}, {
    name: 'category',
    path: '/category',
    component: () => import('@views/category/QueryList.vue')
}, {
    name: 'user',
    path: '/user',
    component: () => import('@views/user/QueryList.vue')
}, {
    name: 'role',
    path: '/role',
    component: () => import('@views/role/QueryList.vue')
}];
const router = createRouter({
    history: createWebHashHistory(),
    routes
});

export default router